#ifndef client
#define client

#include<iostream>
#include"masina.h"


using namespace std;

class CClient
{
protected:
	char *nume;
	int varsta;
	CMasina *lista[10000];
	int nr;
public:
	CClient()
	{
		nr=0;
	}
	CClient (char *n, int v)
	{
		this->nume=new char[strlen(n)+1];
	 strcpy(nume,n);
	 this->varsta=v;
	 nr=0;
	 
	}
	
	//void afisare()
	//{
		
//	};

	void delMasina (char *, char *,float, char *,char *);
	void delMasina (char *, char *,int,char *,char *);
	void delMasina (char *, char *,char *,char *,char *);
	void addMasina (char *, char *,float, char *,char *);
	void addMasina (char *, char *,int, char *,char *);
	void addMasina (char *, char *, char *, char *,char *);
	
	void afisare ()
	{
	cout<<this->nume<<", "<<this->varsta<<endl;
	for (int i=0;i<nr;i++)
		lista[i]->afisare();
	}

	char * getnume ()	{return nume;}
	int getvarsta ()	{return varsta;}
	

};

#endif